package entity;

import java.time.LocalDateTime;

public class Meeting {
    private String id;
    private String name;
    private String introduce;
    private String room_id;
    private MeetRoom room;
    private LocalDateTime begin;
    private LocalDateTime end;
    private String code;
    private User manager;
    private String status="";
    public Meeting(String id, String name, String introduce, String room_id, LocalDateTime begin, LocalDateTime end,String code) {
        this.id = id;
        this.name = name;
        this.introduce = introduce;
        this.room_id = room_id;
        this.begin = begin;
        this.end = end;
        this.code=code;
    }

    public Meeting(String id, String name, String introduce, String room_id, LocalDateTime begin, LocalDateTime end, User manger) {
        this.id = id;
        this.name = name;
        this.introduce = introduce;
        this.room_id = room_id;
        this.begin = begin;
        this.end = end;
        this.manager=manger;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getRoom_id() {
        return room_id;
    }

    public void setRoom_id(String room_id) {
        this.room_id = room_id;
    }

    public LocalDateTime getBegin() {
        return begin;
    }

    public void setBegin(LocalDateTime begin) {
        this.begin = begin;
    }

    public LocalDateTime getEnd() {
        return end;
    }

    public void setEnd(LocalDateTime end) {
        this.end = end;
    }
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public User getManager() {
        return manager;
    }

    public void setManager(User manager) {
        this.manager = manager;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public MeetRoom getRoom() {
        return room;
    }

    public void setRoom(MeetRoom room) {
        this.room = room;
    }
}
